package com.atguigu.srb.core.mapper;

import com.atguigu.srb.core.pojo.entity.CommunityActivities;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CommunityActivitiesMapper extends BaseMapper<CommunityActivities> {
    @Select("SELECT * FROM community_activities WHERE is_deleted = 0 ")
    List<CommunityActivities> selectAll();
}
